package dao;

public abstract class DAOfactory {

	public abstract EmployeeDAO getEmployeeDAO();
	public abstract LeaveTypeDAO getLeaveTypeDAO();
	public abstract LedgerDAO getLedgerDAO();
	public abstract PublicHolidayDAO getPublicHolidayDAO();
	public abstract LeaveDAO getLeaveDAO();
	public abstract OvertimeDAO getOvertimeDAO();
	public static DAOfactory loadInstance(){
		 return new dao.mysql.DAOFactoryImpl();
	 }
}
